/* 
 * Copyright (c) 2019, CENTRIN.CIYUN.LTD. All rights reserved.
 */
package com.cory.admin.sys.controller.portal;

import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 入口 
 * @author xiongcong
 * @date 2019-03-13
 */
@Controller
public class PortalController {
    
    @GetMapping("")
    public String index(HttpServletRequest request) {
        return "redirect:/login";
    }
    
    @ResponseBody
    @GetMapping("keepalive")
    public String keepalive() {
        return "keepalive";
    }
}
